
#ifndef INPUTWATCHER_H_
#define INPUTWATCHER_H_

#include <rodos.h>
#include "Gui.h"


class InputWatcher : public Thread {
private:
	static const int INPUTSIZE;
	static Gui *singleton;
	char* input;
	int i;
	void handleInput();

	static const int lineInput;
public:
	///constructor using pointer to Gui.
	InputWatcher();
//	InputWatcher(Gui* sing);

	virtual ~InputWatcher();

	void init();

	void run();

};

//static TimeEventPropagator TEP;
static InputWatcher watcher;

#endif /* INPUTWATCHER_H_ */
